<?php
class login extends SClass {

    public function process() {
       
           if ($this->isUserAuthorized()) {
                    header('Location: /');
            }
        }

}